package com.wopinla.service;

import com.wopinla.pojo.*;

import java.util.List;
import java.util.Map;

public interface goodsService {   //这也只是一个接口，接口必须要实现类，这个接口的实现类在service/impl/ExampleServiceImpl.java

    List<goods> searchGoodsByMap(Map<String,Object> map);
    List<goods> screeningGoodsByMap(Map<String,Object> map);
    goods goodsdetailsById(Integer sid);
    int addgoods(Map<String,Object> map);
    int removegoods(int cid);
    int shelves(Integer sid);
    int undercarriage(Integer sid);
    int updategoods(Map<String,Object> map);
    int updategoodstate(Map<String,Object> map);
    List<goods> shelvesgoods(Integer eid,Integer sid);
    List<goods> goods(Integer eid,Integer sid);
    List<goods> good(Integer eid,Integer sid);
}
